const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  
chainWebpack: config =>{
    config.plugin('html').tap(args => {
        args[0].title = 'CT质控实验';
        return args;
    })
  },
  publicPath: './',
  css: {
    loaderOptions: {
      postcss: {
        postcssOptions: {
          plugins: [
            //
            require("postcss-pxtorem")({
              //这里是配置项，详见官方文档
              rootValue: 192, // 换算的基数
              propList: ["*"],
            }),
          ],
        },
      },
    },
  },
});
